package com.woniuxy.service;

import com.woniuxy.controller.form.FindGoodsLikeForm;
import com.woniuxy.controller.form.GoodsAddForm;
import com.woniuxy.controller.form.PageAllGoodsForm;
import com.woniuxy.model.PawnGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.utils.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hujianying
 * @since 2022-03-23
 */
public interface PawnGoodsService extends IService<PawnGoods> {
    Result addGoods(MultipartFile[] files, GoodsAddForm goodsAddForm) throws IOException;
    Result findGoodspage(PageAllGoodsForm pageAllGoodsform);
    Result updateGoodsNoFile(GoodsAddForm goodsAddForm);
    Result updateGoods(MultipartFile[] files, GoodsAddForm goodsAddForm) throws IOException;
    Result findGoodsLike(FindGoodsLikeForm findGoodsLikeForm);
}
